Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confluent t2 config #14340

Merged
merged 1 commit into from
May 11, 2021
Merged

confluent t2 config #14340

merged 1 commit into from
May 11, 2021

Conversation

RAY-316
Copy link
Contributor

@RAY-316 RAY-316 commented May 10, 2021

@openapi-workflow-bot
Copy link

Hi, @RAY-316 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2021

    Swagger Generation Artifacts

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 8b6e1bf. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️confluent/mgmt/2020-03-01/confluent [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `OperationListResult.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `OrganizationResourcePropertiesOfferDetail.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `OfferDetail.MarshalJSON() ([]byte, error)`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 3 additive change(s).
      info	[Changelog]
    • ️✔️preview/confluent/mgmt/2021-03-01-preview/confluent [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Const `ProvisionStateSucceeded` has been removed
      info	[Changelog] - Const `ProvisionStateUpdating` has been removed
      info	[Changelog] - Const `ProvisionStateDeleting` has been removed
      info	[Changelog] - Const `ProvisionStateNotSpecified` has been removed
      info	[Changelog] - Const `ProvisionStateDeleted` has been removed
      info	[Changelog] - Const `CreatedByTypeUser` has been removed
      info	[Changelog] - Const `ProvisionStateAccepted` has been removed
      info	[Changelog] - Const `ProvisionStateCreating` has been removed
      info	[Changelog] - Const `ProvisionStateFailed` has been removed
      info	[Changelog] - Const `CreatedByTypeApplication` has been removed
      info	[Changelog] - Const `ProvisionStateCanceled` has been removed
      info	[Changelog] - Const `CreatedByTypeKey` has been removed
      info	[Changelog] - Const `CreatedByTypeManagedIdentity` has been removed
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New const `Application`
      info	[Changelog] - New const `ManagedIdentity`
      info	[Changelog] - New const `Deleted`
      info	[Changelog] - New const `Updating`
      info	[Changelog] - New const `Accepted`
      info	[Changelog] - New const `Canceled`
      info	[Changelog] - New const `NotSpecified`
      info	[Changelog] - New const `Succeeded`
      info	[Changelog] - New const `Key`
      info	[Changelog] - New const `Deleting`
      info	[Changelog] - New const `Failed`
      info	[Changelog] - New const `User`
      info	[Changelog] - New const `Creating`
      info	[Changelog]
      info	[Changelog] Total 13 breaking change(s), 13 additive change(s).
      info	[Changelog]
    • ️✔️preview/confluent/mgmt/2020-03-01-preview/confluent [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Field `Properties` of struct `AgreementResource` has been removed
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `*AgreementResource.UnmarshalJSON([]byte) error`
      info	[Changelog] - New anonymous field `*AgreementProperties` in struct `AgreementResource`
      info	[Changelog] - New field `IsDataAction` in struct `OperationResult`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 3 additive change(s).
      info	[Changelog]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 8b6e1bf. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/confluent/resource-manager/readme.md
    • ️✔️@azure/arm-confluent [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/confluentManagementClient.js → ./dist/arm-confluent.js...
      cmderr	[npmPack] created ./dist/arm-confluent.js in 222ms
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 8b6e1bf. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/confluent/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.Management.Confluent [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    ️️✔️ azure-cli-extensions succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 8b6e1bf. Azure CLI Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      command	python3 -m venv venv
      command	pip install --upgrade setuptools wheel pip
      command	pip install pathlib jinja2 msrestazure
      command	autorest --az --use=@autorest/az@latest --version=3.0.6271 --clear-output-folder=true --azure-cli-extension-folder=/home/vsts/work/1/s/azure-cli-extensions ../azure-rest-api-specs/specification/confluent/resource-manager/readme.md
      cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'OrganizationResourceProperties-offerDetail' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
      cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'OrganizationResourceProperties-userDetail' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
      cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'OrganizationResource-properties' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'OrganizationResourceProperties-offerDetail' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'OrganizationResourceProperties-userDetail' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'OrganizationResource-properties' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmdout	[Autorest] WARNING (PreNamer/DeduplicateName): Deduplicating schema name: 'organization_resource_properties' -> 'organization_resource_propertiesAutoGenerated'
      cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
      cmderr	[Autorest] BELOW TEST SCENARIO SECTION CAN BE USED IN readme.cli.md
      cmderr	[Autorest] --------------------------------------------------------
      cmderr	[Autorest]   test-scenario:
      cmderr	[Autorest]     - name: /MarketplaceAgreements/get/MarketplaceAgreements_List
      cmderr	[Autorest]     - name: /Organization/put/Organization_Create
      cmderr	[Autorest]     - name: /Organization/get/Organization_Get
      cmderr	[Autorest]     - name: /Organization/get/Organization_ListByResourceGroup
      cmderr	[Autorest]     - name: /Organization/get/Organization_ListBySubscription
      cmderr	[Autorest]     - name: /Organization/patch/Confluent_Update
      cmderr	[Autorest]     - name: /Organization/delete/Confluent_Delete
      cmderr	[Autorest] --------------------------------------------------------
    • ️✔️confluent [View full logs]  [Release Azure CLI Changes]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 8b6e1bf. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      cmderr	[generateScript.sh] (node:2762) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/home/vsts/work/1/s/azure-resource-manager-schemas/schemas/2020-03-01-preview/Microsoft.Confluent.json'
      cmderr	[generateScript.sh] (Use `node --trace-warnings ...` to show where the warning was created)
      cmderr	[generateScript.sh] (node:2762) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      cmderr	[generateScript.sh] (node:2762) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      warn	No file changes detected after generation
    • ️✔️confluent [View full logs]  [Release Schema Changes]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 8b6e1bf. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-05-11 02:28:38 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-05-11 02:28:38 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-05-11 02:28:38 INFO autorest --version=3.1.3 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/confluent/azure-resourcemanager-confluent --java.namespace=com.azure.resourcemanager.confluent   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/confluent/resource-manager/readme.md
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-confluent
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Skip] pom already has module azure-resourcemanager-confluent
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Skip] pom already has module sdk/confluent
      cmderr	[generate.py] 2021-05-11 02:29:06 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-confluent [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG Got artifact_id: azure-resourcemanager-confluent
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG Got artifact: azure-resourcemanager-confluent-1.0.0-beta.2-sources.jar
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG Got artifact: azure-resourcemanager-confluent-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG Match jar package: azure-resourcemanager-confluent-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-05-11 02:31:40 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14340/azure-sdk-for-java/azure-resourcemanager-confluent/azure-resourcemanager-confluent-1.0.0-beta.2.jar\" -o azure-resourcemanager-confluent-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-confluent -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-confluent-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @msyyc
    Copy link
    Member

    msyyc commented May 11, 2021

    After communication with owner of GO SDK, the change is ok

    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants